FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER zhl

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /spring-cloud-eureka

WORKDIR /spring-cloud-eureka

EXPOSE 8761

ADD ./spring-cloud-eureka/target/spring-cloud-eureka.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar spring-cloud-eureka.jar
